package cn.caojun.auth.mapper;

import cn.caojun.auth.domain.Permission;
import cn.caojun.auth.query.PermissionQuery;
import cn.caojun.basic.mapper.BaseMapper;

import java.util.List;

public interface PermissionMapper extends BaseMapper<Permission> {


    void deleteAll();

    List<Permission> getTree();

    List<String> getPermissionByUserId(Long id);
}
